import React from 'react'
import {useRoutes,BrowserRouter} from 'react-router-dom'
import routes from './router'
function App() {
  let Ele=()=>useRoutes(routes)
  return (
   <BrowserRouter>
    <Ele></Ele>
   </BrowserRouter>
  )
}

export default App
